/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.form;

/**
 *
 * @author Tonytran
 */
import org.hibernate.validator.constraints.NotEmpty;
import org.hibernate.validator.constraints.Email;

public class TeacherValidationForm {

    @NotEmpty
    private String name;
    
    @NotEmpty
    @Email
    private String email;
     
    private int id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    
}